home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / libg_261.zip / libg_261 / libg++ / src / defines.h < prev    next >
C/C++ Source or Header  |  1994-08-02  |  1KB  |  36 lines

  1. // This may look like C code, but it is really -*- C++ -*-
  2. /* 
  3. Copyright (C) 1994 Free Software Foundation
  4.     written by Jason Merrill (jason@cygnus.com)
  5.  
  6. This file is part of the GNU C++ Library.  This library is free
  7. software; you can redistribute it and/or modify it under the terms of
  8. the GNU Library General Public License as published by the Free
  9. Software Foundation; either version 2 of the License, or (at your
  10. option) any later version.  This library is distributed in the hope
  11. that it will be useful, but WITHOUT ANY WARRANTY; without even the
  12. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  13. PURPOSE.  See the GNU Library General Public License for more details.
  14. You should have received a copy of the GNU Library General Public
  15. License along with this library; if not, write to the Free Software
  16. Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  17. */
  18.  
  19. #ifndef _defines_h
  20. #define _defines_h
  21.  
  22. #include <_G_config.h>
  23. #include <stddef.h>
  24.  
  25. const size_t NPOS = (size_t)(-1);
  26. typedef void fvoid_t();
  27.  
  28. #ifndef _WINT_T
  29. #define _WINT_T
  30. typedef _G_wint_t wint_t;
  31. #endif
  32.  
  33. enum capacity { default_size, reserve };
  34.  
  35. #endif
  36.